<template>
  <div></div>
</template>
<script>
// 图片地址
const lochostUrl = 'http://192.168.0.66:9090'
const qrCodeUrl = '/api/' 
export default
  {
    // 图片错误替换
    errorimg () {
      return (
        'this.src="' +
        require('@/assets/image/default2.png') +
        '";this.onerror=null'
      )
    },
    lochostUrl,
    qrCodeUrl,
    defaultIconImg: require('@/assets/image/employment/defaultAvatar.png'),
    defaultCover: require('@/assets/image/default2.png'),

 // 上传的图片格式
    imgReg: /\.(jpg|png|gif|jpeg|bmp)(\?.*)?$/,
    videoReg: /\.(flv|mov|mp4|avi|wmv|mp4v)$/,
    // 图片上传大小最大4M
    imgSize: 4,
}
</script>
